package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 业务员对象 member
 * 
 * @author ruoyi
 * @date 2019-10-16
 */
public class Member extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 父业务员名称 */
    private String pname;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String telephone;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 头像 */
    private String cover;

    /** 微信openid */
    private String openId;

    /** 会员类型（1-普通用户 2-会员用户） */
    @Excel(name = "会员类型", readConverterExp = "1=普通用户,2=会员用户,3=VIP用户")
    private Integer vipType;

    /** 用户类型（1-一级用户 2-二级用户） */
    @Excel(name = "用户类型", readConverterExp = "1=一级用户,2=二级用户")
    private Integer userType;

    /** 用户级别（A0-A0经理 A1-A1经理 A2-A2经理 A3-A3经理 A4-A4经理 M1-M1总监） */
    @Excel(name = "用户级别", readConverterExp = "A0=A0经理,A1=A1经理,A2=A2经理,A3=A3经理,A4=A4经理,M1=M1总监")
    private String userLevel;

    /** 积分值 */
    @Excel(name = "积分值")
    private Integer integralCount;

    /** pid */
    private Long pid;

    @Excel(name = "父业务员")
    private String parentMemberName;

    /** 名片 */
    private String card;
    /** 状态 */
    private Integer status;

    /** 性别（0=男,1=女,2=未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private Integer sex;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 签到状态（0-正常，1-禁用） */
    private Integer signStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getPname()
    {
        return pname;
    }
    public void setPname(String pname)
    {
        this.pname = pname;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setVipType(Integer vipType)
    {
        this.vipType = vipType;
    }

    public Integer getVipType()
    {
        return vipType;
    }
    public void setUserType(Integer userType) 
    {
        this.userType = userType;
    }

    public Integer getUserType() 
    {
        return userType;
    }
    public void setUserLevel(String userLevel)
    {
        this.userLevel = userLevel;
    }

    public String getUserLevel()
    {
        return userLevel;
    }
    public void setIntegralCount(Integer integralCount)
    {
        this.integralCount = integralCount;
    }

    public Integer getIntegralCount() 
    {
        return integralCount;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setParentMemberName(String parentMemberName)
    {
        this.parentMemberName = parentMemberName;
    }

    public String getParentMemberName()
    {
        return parentMemberName;
    }
    public void setCard(String card)
    {
        this.card = card;
    }

    public String getCard()
    {
        return card;
    }
    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setBirthday(String birthday)
    {
        this.birthday = birthday;
    }

    public String getBirthday()
    {
        return birthday;
    }

    public Integer getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(Integer signStatus) {
        this.signStatus = signStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickName", getNickName())
            .append("realName", getRealName())
            .append("telephone", getTelephone())
            .append("address", getAddress())
            .append("cover", getCover())
            .append("openId", getOpenId())
            .append("vipType", getVipType())
            .append("userType", getUserType())
            .append("userLevel", getUserLevel())
            .append("integralCount", getIntegralCount())
            .append("pid", getPid())
            .append("remark", getRemark())
            .append("card", getCard())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("sex", getSex())
            .append("email", getEmail())
            .append("birthday", getBirthday())
            .append("signStatus", getSignStatus())
            .toString();
    }
}
